package cn.zz.veggie.model.enums;

import java.util.Objects;

import lombok.AllArgsConstructor;

/**
 * @author zhongq
 * @since 2024/8/4
 */
@AllArgsConstructor
public enum CommStatus {
	deleted(0),
	active(1);

	public final int status;

	public static boolean match(CommStatus commStatus, Integer status) {
		return Objects.equals(commStatus.status, status);
	}
}